package com.shopoo.dto.clientobject;

import java.time.LocalDateTime;

import com.shopoo.dto.ClientObject;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Description:
 * @Auther: limy66
 * @Date: 2021/08/31/17:04
 */
@Data
public class MenuCO extends ClientObject {

    @Schema(title = "菜单ID")
    private Long id;
    /**
     * 父菜单
     */
    @Schema(title = "父菜单")
    private Long parentId;
    /**
     * 菜单名
     */
    @Schema(title = "菜单名")
    private String name;
    /**
     * 路径
     */
    @Schema(title = "路径")
    private String url;
    /**
     * 层级
     */
    @Schema(title = "层级")
    private Short level;
    /**
     * 图标
     */
    @Schema(title = "图标")
    private String icon;
    /**
     * 排序
     */
    @Schema(title = "排序")
    private Short sort;
    /**
     * 状态 0-无效 1-有效
     */
    @Schema(title = "状态 0-无效 1-有效")
    private Short status;
    /**
     * 类型 0-资源 1-菜单
     */
    @Schema(title = "类型 0-资源 1-菜单")
    private Short hidden;
    /**
     * 创建时间
     */
    @Schema(title = "创建时间")
    private LocalDateTime createTime;

}
